/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.manager;

import java.util.Collection;
import java.util.List;

import com.xy.biz.xd.domain.bo.DocumentFlowHandleUserBO;
import com.xy.biz.xd.domain.query.DocumentFlowHandleUserQuery;

/**
 *
 *
 * @author zgy
 * @date 2022-5-24
 */
public interface DocumentFlowHandleUserManager {

	/**
	 * 保存
	 *
	 * @param documentFlowHandleUserBO
	 */
	int saveDocumentFlowHandleUser(DocumentFlowHandleUserBO documentFlowHandleUserBO);

	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	int saveAllDocumentFlowHandleUser(Collection<DocumentFlowHandleUserBO> collection);

	/**
	 * 更新
	 *
	 * @param documentFlowHandleUserBO
	 */
	int updateDocumentFlowHandleUser(DocumentFlowHandleUserBO documentFlowHandleUserBO);

	/**
	 * 删除
	 *
	 * @param documentFlowHandleUserId
	 */
	int deleteDocumentFlowHandleUser(Long documentFlowHandleUserId);

	/**
	 * 查找一个
	 *
	 * @param documentFlowHandleUserId
	 * @return
	 */
	DocumentFlowHandleUserBO getDocumentFlowHandleUser(Long documentFlowHandleUserId);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 */
	List<DocumentFlowHandleUserBO> listDocumentFlowHandleUserById(Collection<Long> collection);

	/**
	 * 查找多个
	 *
	 * @param query 查找条件
	 */
	List<DocumentFlowHandleUserBO> listDocumentFlowHandleUser(DocumentFlowHandleUserQuery query);

	/**
	 * 统计个数
	 *
	 * @param query 查找条件
	 */
	int countDocumentFlowHandleUser(DocumentFlowHandleUserQuery query);

}
